manager = {
add_client: function(name, address, options) {
var o = {};o.url = 'http://local.sheetmusic.com/sheetmusic/manager/add_client/'+name+'/'+address+'?ajax';
o.type = 'POST';
o.async = false;
if (options !== undefined && options.exception !== undefined) {o.exception = options.exception;}
if (options !== undefined && options.success !== undefined) {o.success = options.success;}
if (options !== undefined && options.post !== undefined) {o.data = options.post;}
return ajax(o);
},
delete_client: function(id, options) {
var o = {};o.url = 'http://local.sheetmusic.com/sheetmusic/manager/delete_client/'+id+'?ajax';
o.type = 'GET';
o.async = true;
if (options !== undefined && options.exception !== undefined) {o.exception = options.exception;}
if (options !== undefined && options.success !== undefined) {o.success = options.success;}
if (options !== undefined && options.post !== undefined) {o.data = options.post;}
return ajax(o);
}
}